<script>
import useMouseMove from './hoods/useMouseMove';
export default{
    setup(){
      const {data}=useMouseMove()
    //将模板中要使用的数据导出
   return{
    data,
   }
}
}
</script>
<template>
    <div>Mouse Moved:x={{data.x}},y={{data.y}}</div>
</template>